package com.hlkj.warboot.module_sys.mapper;

import com.hlkj.warboot.module_sys.entity.RoleEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 系统角色 Mapper 接口
 * </p>
 *
 * @author lixing_java@163.com
 * @since 2020-06-11
 */
public interface RoleMapper extends BaseMapper<RoleEntity> {
    int updateActive(RoleEntity entity) throws Exception;
    int deleteRolePermission(RoleEntity entity) throws Exception;
    int insertRolePermission(RoleEntity entity) throws Exception;
    List<RoleEntity> selectCasUser(RoleEntity entity) throws Exception;
}
